package io.github.harmonly.service;

import io.github.harmonly.entity.association.*;

import java.util.List;

public interface AssociationService {

    /**
     * Association
     */
    List<Association> getAssociations();

    List<Association> getAssociationsByName(String name);

    List<Association> getAssociationsByTag(String tag);

    Association getAssociation(int aid);

    boolean addAssociation(Association association);

    boolean deleteAssociation(int aid);

    boolean editAssociation(Association association);

    /**
     * Association Honor
     */
    List<AssociationHonor> getHonors();

    List<AssociationHonor> getHonorsByAid(int aid);

    AssociationHonor getHonor(int ahid);

    boolean addHonor(AssociationHonor honor);

    boolean deleteHonor(int ahid);

    boolean editHonor(AssociationHonor honor);
}
